﻿@{
    ViewBag.Title = "个人中心";
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}
@using Models
@model admin_account
<section>
    <div class="container">
        <div class="breadcrumb">
            <ul>
                <li>
                    <a href="/admin/Account/Index">
                        <img src="/Areas/Admin/HTML/images/home-prm.png" />&nbsp;<span>返回主菜单&nbsp;&gt;&nbsp;</span>
                    </a>
                </li>
                <li>
                    <a href="#">
                        <span class="active-b">个人中心</span>
                    </a>
                </li>
            </ul>
        </div>
        <form method="post" action="/admin/AdminAccount/Edit" data-successurl="/admin/account/index" name="meetinginfoform" class="formvalidator" id="adminaccount" autocomplete="off">


            <div class="wrap min-height-600">
                <input id="id" name="id" type="hidden" value="@Model.id">
                <div class="form-group">
                    <label class="col-xs-2">用户名：</label>
                    <div class="col-xs-10">
                        <input id="username" name="username" value="@Model.username" type="text" class="validate[required]" readonly="readonly">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2">姓名：</label>
                    <div class="col-xs-10">
                        <input id="name" name="name" value="@Model.name" type="text" class="validate[required]">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2">密码：</label>
                    <div class="col-xs-10">
                        <input id="password" name="password" type="password" value="" class="validate[required,minSize[6],maxSize[16]]">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2">重复密码：</label>
                    <div class="col-xs-10">
                        <input id="password0" name="password0" type="password" value="" class="validate[required,minSize[6],maxSize[16],equals[password]]">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2">手机号码：</label>
                    <div class="col-xs-10">
                        <input id="mobile" name="mobile" type="text" value="@Model.mobile" class="validate[custom[phone]]">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2">邮箱：</label>
                    <div class="col-xs-10">
                        <input id="email" name="email" type="text" value="@Model.email" class="validate[custom[email]]">
                    </div>
                </div>
                <input type="hidden" name="groupid" id="groupid" value="@Model.groupid" />
            </div>
            <ul class="big-btn">
                <li>
                    <input type="submit" class="button active" value="保存">
                </li>
                <li>
                    <input type="button" onclick="javascript: window.location = '/admin/AdminAccount/Index'" class="button" value="取消">
                </li>
            </ul>
        </form>
    </div>
    <script type="text/javascript">
        function customvalidation() {
        }
    </script>
</section>
